//  先定义，再导出  export {}
let a =12;
let b = 5;
let fn = function(){
    console.log(obj.name);
}
let obj = {
    name:"老王"
}

// 统一暴露
export {
    a,
    b,
    fn,
    obj
}

// 直接暴露
export let ddd = '666';

export default {
    a,b
}
